package cn.chinaunicom.smart.community.generator;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
 * @ProjectName: file-server
 * @Package: cn.chinaunicom.smart.community.file
 * @ClassName: FileServerApplication
 * @Description: 文件服务启动类
 * @Author: wangjc
 * @CreateDate: 2020/3/16 0016 16:23
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/3/16 0016 16:23
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableMethodCache(basePackages = "com.springboot.cloud")
@EnableDiscoveryClient
@EnableCreateCacheAnnotation
public class GeneratorApplication {
    public static void main(String[] args) {
        SpringApplication.run(GeneratorApplication.class, args);
    }
}
